﻿using MediatR;
using System;
using System.Collections.Generic;
using System.Text;

namespace MyTask.Tasking.Applicaiton.Commands
{
   public class CreatedTaskInfoCommand : IRequest<bool>
    {
        public string TaskName { get; set; }

        public DateTime StartTime { get; set; }

        public DateTime EndTime { get; set; }
        public bool IsComplete { get; set; }

        public long UserInfoId { get; set; }

        public string TaskDescrible { get; set; }

        public string TaskResult { get; set; }

        public CreatedTaskInfoCommand(string taskName, DateTime startTime, DateTime endTime, bool isComplete, string taskDescrible, string taskResult,long userInfoId)
        {
            TaskName = taskName;
            StartTime = startTime;
            EndTime = endTime;
            IsComplete = isComplete;
            TaskDescrible = taskDescrible;
            TaskResult = taskResult;
            UserInfoId = userInfoId;
        }
    }
}
